<script>
	export default {
    globalData: {
        ip: ''  
    },  
		onLaunch: function() {
      uni.request({
        url:'https://api.ipify.org/?format=json',
        timeout: 80000,
        success: res => {
          this.globalData.ip = res.data.ip
        },
      })
		},
		onShow: function() {
		},
		onHide: function() {
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/uni_modules/uni-scss/index.scss';
	/* #ifndef APP-NVUE */
	@import '@/static/customicons.css';
	// 设置整个项目的背景色
	page {
		background-color: #f7f7f7;
	}
  .box-flex{
    display: flex;
    align-items: center;
  }
  button::after{
    display: none;
  }
  .var-empty{
    text-align: center;
    padding: 100rpx 0;
    color: #aaa;
  }
  .dot{display: -webkit-box;display: box;overflow: hidden;text-overflow: ellipsis;word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp: 1;}
  .dot2 {display: -webkit-box;display: box;overflow: hidden;text-overflow: ellipsis;word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
  .dot3 {display: -webkit-box;display: box;overflow: hidden;text-overflow: ellipsis;word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp: 3;}
  .dot4 {display: -webkit-box;display: box;overflow: hidden;text-overflow: ellipsis;word-break: break-all;-webkit-box-orient: vertical;-webkit-line-clamp: 4;}
  
  .warring-popup{
    width: 80vw;
    text-align: right;
    .warring-close{
      width: 60rpx;
    }
    .warring-main{
      text-align: center;
      padding: 40rpx 50rpx;
      background: #fff;
      border-radius: 30rpx;
      margin-top: 20rpx;
      h2{
        font-size: 36rpx;
      }
      h3{
        font-size: 30rpx;
      }
      .main-img{
        width: 100%;
      }
      .main-button{
        background: #e60027;
        color: #fff;
        font-size: 36rpx;
        width: 80%;
        line-height: 100rpx;
        margin: 0 auto;
        margin-top: 26rpx;
        border-radius: 50rpx;
      }
    }
  }

	/* #endif */
	.example-info {
		font-size: 14px;
		color: #333;
		padding: 10px;
	}
</style>
